﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/ViewMasterPage1.Master" Inherits="System.Web.Mvc.ViewPage" %>
   
<%@ Register src="../UserControlls/Menu.ascx" tagname="Menu" tagprefix="uc1" %>
<%@ Register src="../UserControlls/Vertical_Menu.ascx" tagname="Vertical_Menu" tagprefix="uc2" %>
<%@ Register src="../UserControlls/ListBanner.ascx" tagname="ListBanner" tagprefix="uc3" %>
<%@ Register src="../UserControlls/Footer.ascx" tagname="Footer" tagprefix="uc4" %>
<%@ Register src="../UserControlls/HangSapVe.ascx" tagname="AbountShop" tagprefix="uc5" %>
<%@ Register src="../UserControlls/SaleProducts.ascx" tagname="Promotions" tagprefix="uc8" %>

<%@ Register src="../UserControlls/NewProducts.ascx" tagname="NewProducts" tagprefix="uc9" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

  
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="cph_Menu" runat="server">
    <uc1:Menu ID="Menu1" runat="server" />
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="cph_Vertical_Menu" runat="server">
    <uc2:Vertical_Menu ID="Vertical_Menu1" runat="server" />
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="cph_ListBanner" runat="server">
    <uc3:ListBanner ID="ListBanner1" runat="server" />
</asp:Content>

<asp:Content ID="Content7" ContentPlaceHolderID="cph_Footer" runat="server">
    <uc4:Footer ID="Footer1" runat="server" />
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="cph_aboutshop" runat="server">
    <uc5:AbountShop ID="AbountShop" runat="server" />
</asp:Content>

<asp:Content ID="Content9" ContentPlaceHolderID="cph_Content" runat="server">
 <style>
      #map_canvas {
        width: 450px;
        height: 400px;
        border: 1 solid red inherit;
        border-color:Red;
        border-width:thin;
        
      }
    </style>
    <div style="padding: 10px">
 <div class="title"><span class="title_icon"><img src="images/bullet1.gif" alt="" /></span>Contact Us</div>
      <div class="feat_prod_box_details">
        
     
             <%-- <div id="map_canvas"></div>--%>
                <div id="div_id" style="height:450px; width:480px;"></div>
      </div>
</div>
    <%--
      <script src="http://maps.googleapis.com/maps/api/js?sensor=true"></script>
    <script>
        function initialize() {
            var map_canvas = document.getElementById('map_canvas');
            var map_options = {
                center: new google.maps.LatLng(44.5403, -78.5463),
                zoom: 8,
                mapTypeId: google.maps.MapTypeId.ROADMAP
            }
            var map = new google.maps.Map(map_canvas, map_options)
        }
        google.maps.event.addDomListener(window, 'load', initialize);
    </script>--%>

<script type="text/javascript" src="http://code.google.com/apis/gears/gears_init.js" ></script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false&language=vi&region=hcm"></script>
<script type="text/javascript">
    window.onload = function load() {
        initialize();
    }

var map;
function initialize() {
      var myLatlng = new google.maps.LatLng(20.970404,105.778876);
      var myOptions = {
    zoom: 16,
    center: myLatlng,
    mapTypeId: google.maps.MapTypeId.ROADMAP
}
map = new google.maps.Map(document.getElementById("div_id"), myOptions); 
  // Biến text chứa nội dung sẽ được hiển thị
var text;
text= "<b style='color:#00F;text-align:center'>44-Trưng Nhị</b>";
   var infowindow = new google.maps.InfoWindow(
    { content: text,
        size: new google.maps.Size(300,70),
        position: myLatlng
    });
       infowindow.open(map);    
    var marker = new google.maps.Marker({
      position: myLatlng, 
      map: map,
      title:"KiwiShop"
  });
}
</script>

</asp:Content>

<asp:Content ID="Content11" ContentPlaceHolderID="cph_promotion" runat="server">
    <uc8:Promotions ID="Promotions" runat="server" />
</asp:Content>

